package com.yc.cloud.openai.dto.request.aigc;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

@NoArgsConstructor
@Data
public class ImageMJProcessParam {

    @NotEmpty(message = "操作类型不能为空")
    private String action;

    @NotNull(message = "操作序列号不能为空")
    private Integer sequenceNumber;

    @ApiModelProperty(value = "图像ID", required = true)
    @NotEmpty(message = "图像ID不能为空")
    private String imageId;

    @ApiModelProperty(value = "期望图片宽度", required = true)
    private Integer width;

    @ApiModelProperty(value = "期望图片高度", required = true)
    private Integer height;

}
